package edu.sctu.xialei.May.day20150520two;

/**
 * Created by Administrator on 5/21/2015.
 */
public class InputAndPrintWays extends WeatherData {
    public InputAndPrintWays(float temperature, String weather) {
        super(temperature, weather);
    }

    public void printTemperature (){

        System.out.println("气温： " + temperature);
    }

    public void printWeather(){

        System.out.println("天气： " + weather );
    }
}
